From: Florian Müllner Date: Wed, 19 Feb 2020 18:25:35 +0000 (+0100) Subject: extensionPrefs: Fix more fallout from un-templating strings X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~772^2^2~95 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=affbec73ef29f84b9d3a9478f8bcc10affe488c7;p=gnome-shell.git extensionPrefs: Fix more fallout from un-templating strings The version field in extension metadata is a number, so we cannot just use it as a string. ('creator' should be fine, but change it as well for the symmetry) https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1031 --- diff --git a/js/extensionPrefs/main.js b/js/extensionPrefs/main.js index 935ab0c69..1ae010b36 100644 --- a/js/extensionPrefs/main.js +++ b/js/extensionPrefs/main.js @@ -703,10 +703,10 @@ var ExtensionRow = GObject.registerClass({ this._updatesIcon.visible = this.hasUpdate; - this._versionLabel.label = this.version; + this._versionLabel.label = this.version.toString(); this._versionLabel.visible = this.version !== ''; - this._authorLabel.label = this.creator; + this._authorLabel.label = this.creator.toString(); this._authorLabel.visible = this.creator !== ''; }